package com.ruoyi.bearing.service;

import com.ruoyi.bearing.domain.BearingModel;
import com.ruoyi.bearing.domain.BearingPredictResult;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * 在线预测
 */
public interface IBearingPredictionService {
    /**
     * 在线预测
     */
    public BearingPredictResult startBearingPrediction(MultipartFile file, BearingModel bearingModel) throws IOException, IllegalAccessException;

    /**
     * 下载pdf在线预测结果
     */
    public void download(HttpServletResponse response, BearingModel bearingModel);

}
